Optimal. Leaf size=257 \[ \frac {3 b^2 \text {Li}_3\left (1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{2 d e}-\frac {3 b^2 \text {Li}_3\left (\frac {2}{-c-d x+1}-1\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{2 d e}-\frac {3 b \text {Li}_2\left (1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d e}+\frac {3 b \text {Li}_2\left (\frac {2}{-c-d x+1}-1\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d e}+\frac {2 \tanh ^{-1}\left (1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^3}{d e}-\frac {3 b^3 \text {Li}_4\left (1-\frac {2}{-c-d x+1}\right )}{4 d e}+\frac {3 b^3 \text {Li}_4\left (\frac {2}{-c-d x+1}-1\right )}{4 d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.49, antiderivative size = 257, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 8, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.348, Rules used = {6107, 12, 5914, 6052, 5948, 6058, 6062, 6610} \[ \frac {3 b^2 \text {PolyLog}\left (3,1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{2 d e}-\frac {3 b^2 \text {PolyLog}\left (3,\frac {2}{-c-d x+1}-1\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{2 d e}-\frac {3 b \text {PolyLog}\left (2,1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d e}+\frac {3 b \text {PolyLog}\left (2,\frac {2}{-c-d x+1}-1\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d e}-\frac {3 b^3 \text {PolyLog}\left (4,1-\frac {2}{-c-d x+1}\right )}{4 d e}+\frac {3 b^3 \text {PolyLog}\left (4,\frac {2}{-c-d x+1}-1\right )}{4 d e}+\frac {2 \tanh ^{-1}\left (1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^3}{d e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 5914
Rule 5948
Rule 6052
Rule 6058
Rule 6062
Rule 6107
Rule 6610
Rubi steps
\begin {align*} \int \frac {\left (a+b \tanh ^{-1}(c+d x)\right )^3}{c e+d e x} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right )^3}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right )^3}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac {2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \tanh ^{-1}\left (1-\frac {2}{1-c-d x}\right )}{d e}-\frac {(6 b) \operatorname {Subst}\left (\int \frac {\tanh ^{-1}\left (1-\frac {2}{1-x}\right ) \left (a+b \tanh ^{-1}(x)\right )^2}{1-x^2} \, dx,x,c+d x\right )}{d e}\\ &=\frac {2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \tanh ^{-1}\left (1-\frac {2}{1-c-d x}\right )}{d e}-\frac {(3 b) \operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right )^2 \log \left (2-\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d e}+\frac {(3 b) \operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right )^2 \log \left (\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d e}\\ &=\frac {2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \tanh ^{-1}\left (1-\frac {2}{1-c-d x}\right )}{d e}-\frac {3 b \left (a+b \tanh ^{-1}(c+d x)\right )^2 \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{2 d e}+\frac {3 b \left (a+b \tanh ^{-1}(c+d x)\right )^2 \text {Li}_2\left (-1+\frac {2}{1-c-d x}\right )}{2 d e}+\frac {\left (3 b^2\right ) \operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right ) \text {Li}_2\left (1-\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d e}-\frac {\left (3 b^2\right ) \operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right ) \text {Li}_2\left (-1+\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d e}\\ &=\frac {2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \tanh ^{-1}\left (1-\frac {2}{1-c-d x}\right )}{d e}-\frac {3 b \left (a+b \tanh ^{-1}(c+d x)\right )^2 \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{2 d e}+\frac {3 b \left (a+b \tanh ^{-1}(c+d x)\right )^2 \text {Li}_2\left (-1+\frac {2}{1-c-d x}\right )}{2 d e}+\frac {3 b^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_3\left (1-\frac {2}{1-c-d x}\right )}{2 d e}-\frac {3 b^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_3\left (-1+\frac {2}{1-c-d x}\right )}{2 d e}-\frac {\left (3 b^3\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3\left (1-\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{2 d e}+\frac {\left (3 b^3\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3\left (-1+\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{2 d e}\\ &=\frac {2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \tanh ^{-1}\left (1-\frac {2}{1-c-d x}\right )}{d e}-\frac {3 b \left (a+b \tanh ^{-1}(c+d x)\right )^2 \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{2 d e}+\frac {3 b \left (a+b \tanh ^{-1}(c+d x)\right )^2 \text {Li}_2\left (-1+\frac {2}{1-c-d x}\right )}{2 d e}+\frac {3 b^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_3\left (1-\frac {2}{1-c-d x}\right )}{2 d e}-\frac {3 b^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_3\left (-1+\frac {2}{1-c-d x}\right )}{2 d e}-\frac {3 b^3 \text {Li}_4\left (1-\frac {2}{1-c-d x}\right )}{4 d e}+\frac {3 b^3 \text {Li}_4\left (-1+\frac {2}{1-c-d x}\right )}{4 d e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.51, size = 599, normalized size = 2.33 \[ \frac {64 a^3 \log (c+d x)-96 i a^2 b \left (-i \text {Li}_2\left (e^{-2 \tanh ^{-1}(c+d x)}\right )-i \text {Li}_2\left (-e^{2 \tanh ^{-1}(c+d x)}\right )-\frac {1}{4} i \left (\pi -2 i \tanh ^{-1}(c+d x)\right )^2+i \tanh ^{-1}(c+d x)^2+\left (\pi -2 i \tanh ^{-1}(c+d x)\right ) \log \left (e^{2 \tanh ^{-1}(c+d x)}+1\right )-\log \left (\frac {2}{\sqrt {1-(c+d x)^2}}\right ) \left (\pi -2 i \tanh ^{-1}(c+d x)\right )+2 i \tanh ^{-1}(c+d x) \log \left (1-e^{-2 \tanh ^{-1}(c+d x)}\right )-2 i \log \left (\frac {2 i (c+d x)}{\sqrt {1-(c+d x)^2}}\right ) \tanh ^{-1}(c+d x)\right )+192 a^2 b \left (-\log \left (\frac {1}{\sqrt {1-(c+d x)^2}}\right )+\log \left (\frac {i (c+d x)}{\sqrt {1-(c+d x)^2}}\right )\right ) \tanh ^{-1}(c+d x)+8 a b^2 \left (24 \tanh ^{-1}(c+d x) \text {Li}_2\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )+24 \tanh ^{-1}(c+d x) \text {Li}_2\left (e^{2 \tanh ^{-1}(c+d x)}\right )+12 \text {Li}_3\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )-12 \text {Li}_3\left (e^{2 \tanh ^{-1}(c+d x)}\right )-16 \tanh ^{-1}(c+d x)^3-24 \tanh ^{-1}(c+d x)^2 \log \left (e^{-2 \tanh ^{-1}(c+d x)}+1\right )+24 \tanh ^{-1}(c+d x)^2 \log \left (1-e^{2 \tanh ^{-1}(c+d x)}\right )+i \pi ^3\right )+b^3 \left (96 \tanh ^{-1}(c+d x)^2 \text {Li}_2\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )+96 \tanh ^{-1}(c+d x)^2 \text {Li}_2\left (e^{2 \tanh ^{-1}(c+d x)}\right )+96 \tanh ^{-1}(c+d x) \text {Li}_3\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )-96 \tanh ^{-1}(c+d x) \text {Li}_3\left (e^{2 \tanh ^{-1}(c+d x)}\right )+48 \text {Li}_4\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )+48 \text {Li}_4\left (e^{2 \tanh ^{-1}(c+d x)}\right )-32 \tanh ^{-1}(c+d x)^4-64 \tanh ^{-1}(c+d x)^3 \log \left (e^{-2 \tanh ^{-1}(c+d x)}+1\right )+64 \tanh ^{-1}(c+d x)^3 \log \left (1-e^{2 \tanh ^{-1}(c+d x)}\right )+\pi ^4\right )}{64 d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b^{3} \operatorname {artanh}\left (d x + c\right )^{3} + 3 \, a b^{2} \operatorname {artanh}\left (d x + c\right )^{2} + 3 \, a^{2} b \operatorname {artanh}\left (d x + c\right ) + a^{3}}{d e x + c e}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \operatorname {artanh}\left (d x + c\right ) + a\right )}^{3}}{d e x + c e}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.18, size = 1842, normalized size = 7.17 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a^{3} \log \left (d e x + c e\right )}{d e} + \int \frac {b^{3} {\left (\log \left (d x + c + 1\right ) - \log \left (-d x - c + 1\right )\right )}^{3}}{8 \, {\left (d e x + c e\right )}} + \frac {3 \, a b^{2} {\left (\log \left (d x + c + 1\right ) - \log \left (-d x - c + 1\right )\right )}^{2}}{4 \, {\left (d e x + c e\right )}} + \frac {3 \, a^{2} b {\left (\log \left (d x + c + 1\right ) - \log \left (-d x - c + 1\right )\right )}}{2 \, {\left (d e x + c e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (a+b\,\mathrm {atanh}\left (c+d\,x\right )\right )}^3}{c\,e+d\,e\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {a^{3}}{c + d x}\, dx + \int \frac {b^{3} \operatorname {atanh}^{3}{\left (c + d x \right )}}{c + d x}\, dx + \int \frac {3 a b^{2} \operatorname {atanh}^{2}{\left (c + d x \right )}}{c + d x}\, dx + \int \frac {3 a^{2} b \operatorname {atanh}{\left (c + d x \right )}}{c + d x}\, dx}{e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________